#ubuntu
curl -fsSL https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu/gpg  | sudo apt-key add -
add-apt-repository \
   "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
apt-get update
apt install docker-ce=18.06.1~ce~3-0~ubuntu  # 安装成功
# apt install docker-ce=18.06.3~ce~3-0~ubuntu  # 未尝试




# centos
https://mirrors.ustc.edu.cn/docker-ce/linux/centos/7/x86_64/stable/Packages/docker-ce-18.06.3.ce-3.el7.x86_64.rpm

yum install -y docker-ce-18.06.3.ce-3.el7.x86_64   # 安装成功


